let promise = Promise.resolve("第一次成功");

promise.then(res=> {
    console.log(res);
    return Promise.resolve("第二次成功")
}).then(res=> {
    console.log(res);
    return new Promise(function(){});
    // return "第三次成功"
}).then(res => {
    console.log(res);
    throw Error("第四次失败")
}).catch(err => {
    console.log(err);
    return "第五次成功"
}).then(res => {
    console.log(res);
});